package edu.cmu.ece.ds.droidchat.message;

import java.io.Serializable;
import java.math.BigInteger;

/* Number 1
 * From: init user
 * To: server
 * Purpose: ask for public key of the user it wants to invite
 *  its id and the username encrypted with its private key
 *  to identify itself
 */

public class CreateSessionInfoRequestMessage extends CreateSessionMessage implements
Serializable {

	private static final long serialVersionUID = -4722752785141784965L;
	
	//login session id of the sender
	private int login_session_id = 0;
	
	//the user that you want to know ask for its public key
	private String username;
	
	public CreateSessionInfoRequestMessage(String chatSessionid,int sessionid,
			String username) {
		super(chatSessionid);
		login_session_id=sessionid;
		this.username=username;
	}
	
	public int getLogin_session_id() {
		return login_session_id;
	}
	
	public String getUsername() {
		return username;
	}
}
